<template>
  <div class="resource-library-list">
    <SearchBar />
    <Table />
  </div>
</template>

<script lang="ts" setup name="ResourcesLibraryList">
// import mitt from '@/utils/mitt'
import { onUnmounted } from 'vue'
import SearchBar from './components/search-bar/index.vue'
import Table from './components/table/index.vue'

// mitt.on('load-resource-library-list', (params): void => {
//   console.log('search-bar-data：', params)
// })

// onUnmounted(() => {
//   mitt.off('load-resource-library-list')
// })
</script>

<style lang="less" scoped>
.resource-library-list {
}
</style>
